<!DOCTYPE html>
<html lang="en"><!-- InstanceBegin template="/Templates/tp-admin.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Admin - Control Panel</title>
<!-- InstanceEndEditable -->
<!-- Bootstrap core CSS -->
<?php
 session_start();
 if ($_SESSION['ID_Nhom_nguoi_dung']=='1')
	 {
		
	 }
	else
	{
		header('Location: login.php'); 
	}
if (isset($_POST['logout'])) {
    			$_SESSION['ID_Nguoi_dung'] ="";
			   $_SESSION['Ten_dang_nhap'] = "";
			   $_SESSION['Mat_khau'] ="";
			   $_SESSION['Ho_va_ten'] = "";
			   $_SESSION['Email'] = "";
			   $_SESSION['ID_Nhom_nguoi_dung'] = "";
			   header('Location: login.php'); 
    }
?>
<script src="../ckeditor/ckeditor.js"></script>
<script src="../js/jquery-1.11.0.min.js"></script>
<script src="../js/default.js"></script>
<link rel="stylesheet" type="text/css" href="../bootstrap/css/bootstrap.min.css">
<!-- Bootstrap theme -->
<link rel="stylesheet" type="text/css" href="../bootstrap/css/bootstrap-theme.min.css">
<!-- Custom styles for this template -->
<link rel="stylesheet" type="text/css" href="../styles/style.css">
<!-- InstanceBeginEditable name="EditRegion4" -->
<script type="text/javascript" src="../js/sach.js"></script>
<script src="../js/jquery.formatCurrency-1.4.0.min.js"></script>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
</head>
<body role="document">
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
      <a class="navbar-brand" href="../index.php">Ngoài Website</a> </div>
    <div class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
        <li class="active"><a href="index.php">Home</a></li>
        <li class="dropdown"><a href="lienhe.php"  class="dropdown-toggle" data-toggle="dropdown">Liên hệ <b class="caret"></b>
          <?php 
		
		require('../config.php'); 
		$connect =  mysql_connect($host, $user, $passwd) or die(mysql_error());
		mysql_query("SET character_set_results=utf8", $connect);
		mysql_select_db($database); 
		$query = mysql_query ("SELECT COUNT(ID) as count FROM lien_he WHERE Trang_thai=1");
		$row = mysql_fetch_array($query); 
		if($row['count']==0){}else{
		echo "(".$row['count'].")"; }
		?>
          </a>
          <ul class="dropdown-menu">
            <li><a href="lienhekd.php" target="_blank">Bộ phận kinh doanh
              <?php $query = mysql_query ("SELECT COUNT(ID) as count FROM lien_he WHERE (Trang_thai=1 and ID_Bo_phan=1)");
		$row = mysql_fetch_array($query); 
		if($row['count']==0){}else{
		echo "(".$row['count'].")"; }?>
              </a></li>
            <li><a href="lienhetm.php" target="_blank">Góp ý, thắc mắc
              <?php $query = mysql_query ("SELECT COUNT(ID) as count FROM lien_he WHERE (Trang_thai=1 and ID_Bo_phan=2)");
		$row = mysql_fetch_array($query);  
		if($row['count']==0){}else{
		echo "(".$row['count'].")"; }?>
              </a></li>
          </ul>
        </li>
        <li class="dropdown"><a href="binhluan.php"  class="dropdown-toggle" data-toggle="dropdown">Bình luận<b class="caret"></b>
          <?php 
		
		require('../config.php'); 
		$connect =  mysql_connect($host, $user, $passwd) or die(mysql_error());
		mysql_query("SET character_set_results=utf8", $connect);
		mysql_select_db($database); 
		$query = mysql_query ("SELECT COUNT(ID) as count FROM Binh_luan_bai_viet WHERE Trang_thai=2");
		$row = mysql_fetch_array($query); 
		$query = mysql_query ("SELECT COUNT(ID) as count FROM Binh_luan_sach WHERE Trang_thai=2");
		$row2 = mysql_fetch_array($query); 
		$row3=$row['count'] + $row2['count'];
		if($row3==0){}else{
		echo "(".$row3.")"; }
		?>
          </a>
          <ul class="dropdown-menu">
            <li><a href="binhluanbaiviet.php" target="_blank">Bình luận bài viết
              <?php $query = mysql_query ("SELECT COUNT(ID) as count FROM Binh_luan_bai_viet WHERE Trang_thai=2");
		$row = mysql_fetch_array($query); 
		if($row['count']==0){}else{
		echo "(".$row['count'].")"; }?>
              </a></li>
            <li><a href="binhluansach.php" target="_blank">Bình luận sách
              <?php $query = mysql_query ("SELECT COUNT(ID) as count FROM Binh_luan_sach WHERE Trang_thai=2");
		$row = mysql_fetch_array($query);  
		if($row['count']==0){}else{
		echo "(".$row['count'].")"; }?>
              </a></li>
          </ul>
        </li>
        <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Báo cáo <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <li><a href="bcdoanhthu.php" target="_blank">Doanh thu, lãi suất hiện tại</a></li>
            <li><a href="bcnhap.php" target="_blank">Chi phí nhập hàng hiện tại</a></li>
            <li><a href="bcsachbanchay.php" target="_blank">Sách bán chạy hiện tại </a></li>
            <li class="divider"></li>
            <li><a href="bcdoanhthuthangtruoc.php" target="_blank">Doanh thu, lãi suất tháng trước</a></li>
            <li><a href="bcnhapthangtruoc.php" target="_blank">Chi phí nhập hàng tháng trước</a></li>
            <li><a href="bcsachbanchaythangtruoc.php" target="_blank">Sách bán chạy tháng trước </a></li>
            <li class="divider"></li>
            <li><a href="baocao.php">Báo cáo khác</a></li>
          </ul>
        </li>
        <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Trợ giúp <b class="caret"></b></a>
          <ul class="dropdown-menu">
            <li><a href="thongtin.php">Thông tin</a></li>
            <li><a href="huongdan.php">Hướng dẫn sử dụng</a></li>
            <li><a href="#">Something else here</a></li>
        
          </ul>
        </li>
        <li style="color:#FFF; margin-left:150px;" > <a href="#" class="dropdown-toggle" data-toggle="dropdown" style="color:#FFF;"> Chào <?php echo $_SESSION['Ho_va_ten']; ?> </a> </li>
       <li style="color:#FFF;" > <form method="post"><button class="form-control" type="submit" name="logout" style="margin-top:7px;">Thoát </button></form> </li>
      </ul>
    </div>
    <!--/.nav-collapse --> 
  </div>
</div>
<div class="admain">
  <div id='cssmenu'>
    <ul>
      <li class='has-sub'><a href='#'><span>Chủ đề</span></a>
        <ul>
          <li ><a href='chude.php'><span>Danh sách</span></a> </li>
          <li ><a href='themchude.php'><span>Thêm mới</span></a> </li>
        </ul>
      </li>
      <li class='has-sub'><a href='#'><span>Tác giả</span></a>
        <ul>
          <li ><a href='tacgia.php'><span>Danh sách</span></a> </li>
          <li ><a href='themtacgia.php'><span>Thêm mới</span></a> </li>
        </ul>
      </li>
      <li class='has-sub'><a href='#'><span>Nhà xuất bản</span></a>
        <ul>
          <li ><a href='nhaxuatban.php'><span>Danh sách</span></a> </li>
          <li ><a href='themnxb.php'><span>Thêm mới</span></a> </li>
        </ul>
      </li>
      <li class='has-sub'><a href='#'><span>Sách</span></a>
        <ul>
          <li ><a href='sach.php'><span>Danh sách</span></a> </li>
          <li ><a href='sachhh.php'><span>Sách hết hàng
          <?php 
		  $query5 = mysql_query ("SELECT COUNT(id) as count
		FROM Sach WHERE (So_luong<=0 and ID_Tinh_trang_sach !=3 and ID_Tinh_trang_sach !=2)");
		$row5 = mysql_fetch_array($query5); 
		if($row5['count']==0){}else{
		echo "(".$row5['count'].")"; }
		  ?>
          
          </span></a> </li>
          <li ><a href='sachsaphh.php'><span>Sách sắp hết hàng
          
           <?php 
		  $query5 = mysql_query ("SELECT COUNT(id) as count
		FROM Sach WHERE (So_luong<=10 and So_luong> 0 and ID_Tinh_trang_sach !=3 and ID_Tinh_trang_sach !=2)");
		$row5 = mysql_fetch_array($query5); 
		if($row5['count']==0){}else{
		echo "(".$row5['count'].")"; }
		  ?>
          </span></a> </li>
          <li ><a href='themsach.php'><span>Thêm mới</span></a> </li>
          <li class='has-sub'><a href='#'><span>Tình trạng sách</span></a>
            <ul>
              <li><a href='ttsach.php'><span>Danh sách</span></a></li>
              <li ><a href='themttsach.php'><span>Thêm mới</span></a></li>
            </ul>
          </li>
          <li class='has-sub'><a href='#'><span>Giảm giá</span></a>
            <ul>
              <li><a href='giamgia.php'><span>Danh sách</span></a></li>
              <li ><a href='themgiamgia.php'><span>Thêm mới</span></a></li>
            </ul>
          </li>
          <li ><a href='dexuat.php'><span>Đề xuất sách</span></a>
            
          </li>
        </ul>
      </li>
      <li class='has-sub'><a href='#'><span>Mua/Bán</span></a>
        <ul>
          <li class='has-sub'><a href='#'><span>Bán hàng</span></a>
            <ul>
              <li><a href='dsbh.php'><span>Danh sách hóa đơn</span></a></li>
              <li><a href='dsdathang.php'><span>Hóa đơn đặt hàng</span></a></li>
              <li><a href='dsdangchuyen.php'><span>Hóa đơn đang chuyển</span></a></li>
              <li><a href='dsthanhcong.php'><span>Hóa đơn thành công</span></a></li>
              <li><a href='dshuy.php'><span>Hóa đơn hủy</span></a></li>
            </ul>
          </li>
          <li class='has-sub'><a href='#'><span>Nhập hàng</span></a>
            <ul>
              <li><a href='dsnh.php'><span>Danh sách hóa đơn</span></a></li>
              <li class='last'><a href='nh.php'><span>Nhập hàng</span></a></li>
            </ul>
          </li>
          <li class='has-sub'><a href='#'><span>Nhà cung cấp</span></a>
            <ul>
              <li><a href='ncc.php'><span>Danh sách</span></a></li>
              <li class='last'><a href='themncc.php'><span>Thêm mới</span></a></li>
            </ul>
          </li>
        </ul>
      </li>
      <li class='has-sub'><a href='#'><span>Tài khoản</span></a>
        <ul>
          <li ><a href='nguoidung.php'><span>Danh sách</span></a> </li>
          <li ><a href='themnguoidung.php'><span>Thêm mới</span></a> </li>
          <li class='has-sub'><a href='#'><span>Nhóm tài khoản</span></a>
            <ul>
              <li ><a href='ntk.php'><span>Danh sách</span></a> </li>
              <li ><a href='themntk.php'><span>Thêm mới</span></a> </li>
            </ul>
          </li>
          <li class='has-sub'><a href='#'><span>Tỉnh, thành phố</span></a>
            <ul>
              <li ><a href='tinh.php'><span>Danh sách</span></a> </li>
              <li ><a href='themtinh.php'><span>Thêm mới</span></a> </li>
            </ul>
          </li>
          <li class='has-sub'><a href='#'><span>Quận, huyện</span></a>
            <ul>
              <li ><a href='huyen.php'><span>Danh sách</span></a> </li>
              <li ><a href='themhuyen.php'><span>Thêm mới</span></a> </li>
            </ul>
          </li>
        </ul>
      </li>
      <li class='has-sub'><a href='#'><span>Bài viết</span></a>
        <ul>
          <li ><a href='baiviet.php'><span>Danh sách</span></a> </li>
          <li ><a href='thembaiviet.php'><span>Thêm mới</span></a> </li>
          <li class='has-sub'><a href='#'><span>Nhóm bài viết</span></a>
            <ul>
              <li><a href='nbv.php'><span>Danh sách</span></a></li>
              <li class='last'><a href='themnbv.php'><span>Thêm mới</span></a></li>
            </ul>
          </li>
        </ul>
      </li>
    </ul>
  </div>
  <div class="content"><!-- InstanceBeginEditable name="content" -->
    <p class="bg-warning tieude">THÊM MỚI CUỐN SÁCH</p>
    <form class="form-horizontal" role="form" method="post" enctype="multipart/form-data">
      <div class="form-group">
        <label for="ID" class="col-sm-2 control-label">ID:</label>
        <div class="col-sm-2">
          <input name="ID" type="text" id="sach" class="form-control" placeholder="<?php echo $ID_AI ;?>" value="<?php echo $ID_AI ;?>" readonly>
        </div>
      </div>
      <div class="form-group">
        <label for="Chu_de" class="col-sm-2 control-label">Chọn chủ đề: </label>
        <div class="col-sm-4">
          <select name="ID_Chu_de"  class="form-control select" style="width:200px; margin-right:20px;"  >
            <option value="0">Chọn chủ đề</option>
            <?php 
            foreach($menu as $k => $row)
            {?>
            <option value="<?php echo $row['ID']; ?>"> <?php echo $row['Ten_chu_de'];?> </option>
            <?php }?>
          </select>
        </div>
        <label for="ID" class="col-sm-2 control-label">Nhà xuất bản: </label>
        <div class="col-sm-4">
          <select name="ID_Nha_xuat_ban" class="form-control" style="width:200px; margin-right:20px;">
            <?php foreach ($nxb AS $xb) {?>
            <option value="<?php echo $xb['ID'] ?>"><?php echo $xb['Ten_nha_xuat_ban'] ?></option>
            <?php } ?>
          </select>
        </div>
      </div>
      <div class="form-group">
        <label for="Tác giả" class="col-sm-2 control-label">Tác giả:</label>
        <div class="col-sm-10">
          <div class="content_wrapper">
            <ul id="responds">
            </ul>
            <div class="form_style">
              <div class="left">
                <select name="ID_Tac_gia"  class="left select" style="width:200px; margin-right:20px;"  id="contentText" >
                  <?php foreach ($getbyall_tacgia AS $tg) {?>
                  <option value="<?php echo $tg['ID'] ?>"><?php echo $tg['Ten_tac_gia'] ?></option>
                  <?php } ?>
                </select>
                <button id="FormSubmit" style="width:120px"  class="btn btn-primary left">Thêm tác giả</button>
              </div>
              <img src="images/loading.gif" id="LoadingImage" style="display:none" /> </div>
          </div>
        </div>
      </div>
      <div class="form-group">
        <label for="Tinh_trang_sach" class="col-sm-2 control-label">Tình trạng sách: </label>
        <div class="col-sm-4">
          <select name="ID_Tinh_trang_sach" class="form-control" style="width:200px; margin-right:20px;">
            <?php foreach ($tts AS $tts) {?>
            <option value="<?php echo $tts['ID'] ?>"><?php echo $tts['Ten_tinh_trang'] ?></option>
            <?php } ?>
          </select>
        </div>
        <label for="So_luong" class="col-sm-2 control-label">Số lượng:</label>
        <div class="col-sm-4">
          <input name="So_luong" type="number" class="form-control " style="width:200px; margin-right:20px;" id="inputEmail3" placeholder="Số lượng">
        </div>
      </div>
      <div class="form-group">
        <label for="Gia_nhap" class="col-sm-2 control-label">Giá nhập:</label>
        <div class="col-sm-4">
          <input name="Gia_nhap" type="number" class="form-control " style="width:200px; margin-right:20px;" placeholder="Giá nhập VNĐ">
        </div>
        <label for="Thoi_gian_nhap" class="col-sm-2 control-label">Thời gian nhập:</label>
        <div class="col-sm-4">
          <input name="Thoi_gian_nhap" type="date" class="form-control" style="width:200px; margin-right:20px;" value="<?php echo date('Y-m-d'); ?>">
        </div>
      </div>
      <div class="form-group">
        <label for="Gia_bia" class="col-sm-2 control-label">Giá bìa:</label>
        <div class="col-sm-4">
          <input id="Gia_bia" name="Gia_bia" required type="number" class="form-control " style="width:200px; margin-right:20px;"  placeholder="Giá in ngoài bìa VNĐ">
        </div>
        <label for="ID_Giam_gia" class="col-sm-2 control-label">Giảm giá: </label>
        <div class="col-sm-4">
          <select id="Giam_gia" name="ID_Giam_gia" class="form-control" style="width:200px; margin-right:20px;" >
            <?php foreach ($gg AS $gg) {?>
            <option value="<?php echo $gg['ID'] ?>"><?php echo $gg['Ten_giam_gia'] ?></option>
            <?php } ?>
          </select>
        </div>
      </div>
      <div class="form-group">
        <label for="Gia_ban" class="col-sm-2 control-label">Giá bán:</label>
        <div class="col-sm-4">
          <input id="Gia_ban" name="Gia_ban" type="number" class="form-control " style="width:200px; margin-right:20px;" placeholder="Giá bán VNĐ">
        </div>
        <label for="Thoi_gian_ban" class="col-sm-2 control-label">Thời gian bán:</label>
        <div class="col-sm-4">
          <input name="Thoi_gian_ban" type="date" class="form-control " style="width:200px; margin-right:20px;" value="<?php echo date('Y-m-d'); ?>">
        </div>
      </div>
      <div class="form-group">
        <label for="Ten_sach" class="col-sm-2 control-label">Tên sách:</label>
        <div class="col-sm-10">
          <input name="Ten_sach" type="text" class="form-control focus" placeholder="Tên cuốn sách" required>
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">Upload hình ảnh:</label>
        <div class="col-sm-10">
          <input type="file" name="file" size="20" required />
          <br />
        </div>
      </div>
      <div class="form-group">
        <label for="Gioi_thieu" class="col-sm-2 control-label">Giới thiệu:</label>
        <div class="col-sm-10">
          <textarea name="Gioi_thieu" required class="ckeditor" id="content" placeholder="Giới thiệu về nội dung cuốn sách"></textarea>
        </div>
      </div>
      <div class="form-group">
        <label for="Nam_xuat_ban" class="col-sm-2 control-label">Năm xuất bản:</label>
        <div class="col-sm-4">
          <select name="Nam_xuat_ban" type="" class="form-control focus">
            <option value="2014">2014</option>
            <option value="2013">2013</option>
            <option value="2012">2012</option>
            <option value="2011">2011</option>
            <option value="2010">2010</option>
            <option value="2009">2009</option>
            <option value="2008">2008</option>
            <option value="2007">2007</option>
            <option value="2006">2006</option>
            <option value="2005">2005</option>
            <option value="2004">2004</option>
            <option value="2003">2003</option>
            <option value="2002">2002</option>
            <option value="2001">2001</option>
            <option value="2000">2000</option>
            <option value="1999">1999</option>
            <option value="1998">1998</option>
            <option value="1997">1997</option>
            <option value="1996">1996</option>
            <option value="1995">1995</option>
            <option value="1994">1994</option>
            <option value="1993">1993</option>
            <option value="1992">1992</option>
            <option value="1991">1991</option>
            <option value="1990">1990</option>
            <option value="1989">1989</option>
            <option value="1988">1988</option>
            <option value="1987">1987</option>
            <option value="1986">1986</option>
            <option value="1985">1985</option>
            <option value="1984">1984</option>
            <option value="1983">1983</option>
            <option value="1982">1982</option>
            <option value="1981">1981</option>
            <option value="1980">1980</option>
            <option value="1979">1979</option>
            <option value="1978">1978</option>
            <option value="1977">1977</option>
            <option value="1976">1976</option>
            <option value="1975">1975</option>
            <option value="1974">1974</option>
            <option value="1973">1973</option>
            <option value="1972">1972</option>
            <option value="1971">1971</option>
            <option value="1970">1970</option>
            <option value="1969">1969</option>
            <option value="1968">1968</option>
            <option value="1967">1967</option>
            <option value="1966">1966</option>
            <option value="1965">1965</option>
            <option value="1964">1964</option>
            <option value="1963">1963</option>
            <option value="1962">1962</option>
            <option value="1961">1961</option>
            <option value="1960">1960</option>
            <option value="1959">1959</option>
            <option value="1958">1958</option>
            <option value="1957">1957</option>
            <option value="1956">1956</option>
            <option value="1955">1955</option>
            <option value="1954">1954</option>
            <option value="1953">1953</option>
            <option value="1952">1952</option>
            <option value="1951">1951</option>
            <option value="1950">1950</option>
            <option value="1949">1949</option>
            <option value="1948">1948</option>
            <option value="1947">1947</option>
            <option value="1946">1946</option>
            <option value="1945">1945</option>
            <option value="1944">1944</option>
            <option value="1943">1943</option>
            <option value="1942">1942</option>
            <option value="1941">1941</option>
            <option value="1940">1940</option>
            <option value="1939">1939</option>
            <option value="1938">1938</option>
            <option value="1937">1937</option>
            <option value="1936">1936</option>
            <option value="1935">1935</option>
            <option value="1934">1934</option>
            <option value="1933">1933</option>
            <option value="1932">1932</option>
            <option value="1931">1931</option>
            <option value="1930">1930</option>
            <option value="1929">1929</option>
            <option value="1928">1928</option>
            <option value="1927">1927</option>
            <option value="1926">1926</option>
            <option value="1925">1925</option>
            <option value="1924">1924</option>
            <option value="1923">1923</option>
            <option value="1922">1922</option>
            <option value="1921">1921</option>
            <option value="1920">1920</option>
            <option value="1919">1919</option>
            <option value="1918">1918</option>
            <option value="1917">1917</option>
            <option value="1916">1916</option>
            <option value="1915">1915</option>
            <option value="1914">1914</option>
            <option value="1913">1913</option>
            <option value="1912">1912</option>
            <option value="1911">1911</option>
            <option value="1910">1910</option>
            <option value="1909">1909</option>
            <option value="1908">1908</option>
            <option value="1907">1907</option>
            <option value="1906">1906</option>
            <option value="1905">1905</option>
            <option value="1904">1904</option>
            <option value="1903">1903</option>
            <option value="1902">1902</option>
            <option value="1901">1901</option>
            <option value="1900">1900</option>
          </select>
        </div>
        <label for="So_trang" class="col-sm-2 control-label">Số trang:</label>
        <div class="col-sm-4">
          <input name="So_trang" type="number" class="form-control " required  placeholder="Số trang">
        </div>
      </div>
      <div class="form-group">
        <label for="Dang_bia" class="col-sm-2 control-label">Dạng bìa:</label>
        <div class="col-sm-4">
          <select name="Dang_bia"  class="form-control">
            <option value="Cứng"> Cứng</option>
            <option value="Mềm"> Mềm</option>
            <option value="Plastic"> Plastic</option>
            <option value="Không xác định"> Không xác định</option>
          </select>
        </div>
        <label for="Kich_thuoc" class="col-sm-2 control-label">Kích thước:</label>
        <div class="col-sm-4">
          <input name="Kich_thuoc" type="text" class="form-control" id="inputEmail3" placeholder="Dạng bìa">
        </div>
      </div>
      <div class="form-group">
        <label for="Luot_xem" class="col-sm-2 control-label">Lượt xem:</label>
        <div class="col-sm-4">
          <input name="Luot_xem" type="text" class="form-control" id="inputEmail3" placeholder="0">
        </div>
        <label for="Khoi_luong" class="col-sm-2 control-label">Khối lượng:</label>
        <div class="col-sm-4">
          <input name="Khoi_luong" type="text" class="form-control" id="inputEmail3" placeholder="Khối lượng">
        </div>
      </div>
      <div class="form-group" style="text-align:center;">
        <label class="col-sm-2 control-label"> </label>
        <div class="col-sm-10">
          <div class="col-md-4">
            <button onsubmit="return false" name="ok" type="submit" class="btn btn-primary btn-block pd confirmadd">Thêm mới</button>
          </div>
          <div class="col-md-4 col-md-offset-4">
            <button name="ok1" type="submit" class="btn btn-primary btn-block pd confirmdraft">Lưu tạm</button>
          </div>
        </div>
      </div>
    </form>
    <!-- InstanceEndEditable --> </div>
</div>

<!-- Bootstrap core JavaScript
    ================================================== --> 
<!-- Placed at the end of the document so the pages load faster --> 
<script src="../bootstrap/js/bootstrap.min.js"></script>
</body>
<!-- InstanceEnd --></html>
